package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 月账单对象 sys_billing_month
 * 
 * @author ruoyi
 * @date 2024-08-13
 */
public class SysBillingMonth extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long billingId;

    /** 账单月份 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "账单月份", width = 30, dateFormat = "yyyy-MM-dd")
    private Date billingMonth;

    /** 账单状态 1=正常 2=欠费 3=已关停 */
    @Excel(name = "账单状态 1=正常 2=欠费 3=已关停")
    private Integer billingStatus;

    /** 账单金额 */
    @Excel(name = "账单金额")
    private BigDecimal amount;

    /** 账单类型 1=普通 2=热费 */
    @Excel(name = "账单类型 1=普通 2=热费")
    private Integer billingType;

    /** 楼id */
    @Excel(name = "楼id")
    private Long buildingId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    public void setBillingId(Long billingId) 
    {
        this.billingId = billingId;
    }

    public Long getBillingId() 
    {
        return billingId;
    }
    public void setBillingMonth(Date billingMonth) 
    {
        this.billingMonth = billingMonth;
    }

    public Date getBillingMonth() 
    {
        return billingMonth;
    }
    public void setBillingStatus(Integer billingStatus) 
    {
        this.billingStatus = billingStatus;
    }

    public Integer getBillingStatus() 
    {
        return billingStatus;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setBillingType(Integer billingType) 
    {
        this.billingType = billingType;
    }

    public Integer getBillingType() 
    {
        return billingType;
    }
    public void setBuildingId(Long buildingId) 
    {
        this.buildingId = buildingId;
    }

    public Long getBuildingId() 
    {
        return buildingId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("billingId", getBillingId())
            .append("billingMonth", getBillingMonth())
            .append("billingStatus", getBillingStatus())
            .append("amount", getAmount())
            .append("billingType", getBillingType())
            .append("buildingId", getBuildingId())
            .append("deptId", getDeptId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .toString();
    }
}
